package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.entity.product.Category;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @ClassName: CategoryService
 * @Package: com.atguigu.spzx.manager.service
 * @Description
 * @Author 孤妤
 * @Date: 2023/12/7 10:24
 */
public interface CategoryService {

    List<Category> findByParentId(Long id);
    /**
     * @description: 商品管理的数据导出功能
     * @param: response
     **/
    void exportData(HttpServletResponse response);
    /**
     * @description: 商品管理的数据导入功能
     * @param: file
     **/
    void importData(MultipartFile file);
}
